package cn.usian.jyzx.user.service;

import cn.usian.jyzx.model.dto.UserLoginDto;
import cn.usian.jyzx.model.dto.UserRegisterDto;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 11 05 08 59
 **/
public interface UserService {

    void sendCode(String phone) throws Exception;

    void register(UserRegisterDto userRegisterDto);



    String login(UserLoginDto userLoginDto );
    cn.usian.jyzx.model.entity.user.UserInfo getCurrentUserInfo(String token);

}
